package com.designPattern.composite;

/**
 * @author mxs
 */
public class Department extends OrganizationComponent {
    public Department(String des, String name) {
        super(des, name);
    }

    @Override
    public void print() {
        System.out.println(getName());
    }
}
